home *** CD-ROM | disk | FTP | other *** search
- 1 rem * mixed-graphics text program *
- 2 poke792,193
- 5 fori=0to7:bi(i)=2^i:next:poke53280,12
- 10 fori=49152to49278:reada:pokei,a:next:sys49152
- 20 print"[147][142]":fori=0to8:print:next
- 30 print"the top area is hi-res bit map mode."
- 40 print:print"the middle area is ordinary text."
- 50 print:print"the bottom area is multi-color bit map."
- 60 forg=1384to1423:pokeg,0:next
- 70 forg=1024to1383:pokeg,114:pokeg+640,234:next
- 80 a$="":fori=1to128:a$=a$+"@":next:fori=32to63step2
- 90 poke648,i:print"[153]"a$a$a$a$:next:poke648,4:poke792,71
- 100 base=8192:bk=49267
- 110 h=40:c=0:forx=0to319:gosub150:next
- 120 h=160:c=0:forx=0to319step2:gosub150:next:c=40
- 125 forx=1to319step2:gosub150:next
- 130 c=80:forx=0to319step2:w=0:gosub150:w=1:gosub150:next
- 140 goto140
- 150 y=int(h+20*sin(x/10+c)):by=base+40*(yand248)+(yand7)+(xand504)
- 151 pokeby,peek(by)or(bi(abs(7-(xand7)-w))):return
- 152 data120,169,127,141,13,220,169,1,141,26,208,169
- 164 data3,133,251,173,112,192,141,18,208,169,24,141
- 176 data17,208,173,20,3,141,110,192,173,21,3,141
- 188 data111,192,169,50,141,20,3,169,192,141,21,3
- 200 data88,96,173,25,208,141,25,208,41,1,240,43
- 212 data198,251,16,4,169,2,133,251,166,251,189,115
- 224 data192,141,33,208,189,118
- 230 data192,141,17,208,189,121
- 236 data192,141,22,208,189,124
- 242 data192,141,24,208,189,112
- 248 data192,141,18,208,189,240
- 254 data6,104,168,104,170,104,64,76,49,234
- 264 data49,171,129 :rem *scan lines*
- 267 data0,0,0 :rem *background colors*
- 270 data59,27,59 :rem *53265 registers*
- 273 data24,8,8 :rem *53270 registers*
- 276 data24,20,24 :rem *memory* *controlrun*
- 290 rem
- 292 rem
- 300 rem on line numbers 152-276, rem the data is for memory
- 310 rem locations 49152 to 49276.
-